package yue.shen.business

import yue.shen.enums.Direction
import yue.shen.view.View

/**
 * 移动
 */
interface MoveAble :View {

    /**
     * 方向
     */
    val currentDirection:Direction
    /**
     * 速度
     */
    val speed:Int

    /**
     * 是否发生碰撞
     */
    fun willCollision(blockAble: BlockAble):Direction?

    fun notifyBlock(direction: Direction?,blockAble: BlockAble?)
}